package io.sage.modules.sys.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysRotationchartExample {
    /**
     * sys_rotationchart
     */
    protected String orderByClause;

    /**
     * sys_rotationchart
     */
    protected boolean distinct;

    /**
     * sys_rotationchart
     */
    protected List<Criteria> oredCriteria;

    public SysRotationchartExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * sys_rotationchart 2019-04-04
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsIsNull() {
            addCriterion("indicatorDots is null");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsIsNotNull() {
            addCriterion("indicatorDots is not null");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsEqualTo(Long value) {
            addCriterion("indicatorDots =", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsNotEqualTo(Long value) {
            addCriterion("indicatorDots <>", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsGreaterThan(Long value) {
            addCriterion("indicatorDots >", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsGreaterThanOrEqualTo(Long value) {
            addCriterion("indicatorDots >=", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsLessThan(Long value) {
            addCriterion("indicatorDots <", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsLessThanOrEqualTo(Long value) {
            addCriterion("indicatorDots <=", value, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsIn(List<Long> values) {
            addCriterion("indicatorDots in", values, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsNotIn(List<Long> values) {
            addCriterion("indicatorDots not in", values, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsBetween(Long value1, Long value2) {
            addCriterion("indicatorDots between", value1, value2, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andIndicatordotsNotBetween(Long value1, Long value2) {
            addCriterion("indicatorDots not between", value1, value2, "indicatordots");
            return (Criteria) this;
        }

        public Criteria andAutoplayIsNull() {
            addCriterion("autoplay is null");
            return (Criteria) this;
        }

        public Criteria andAutoplayIsNotNull() {
            addCriterion("autoplay is not null");
            return (Criteria) this;
        }

        public Criteria andAutoplayEqualTo(Long value) {
            addCriterion("autoplay =", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayNotEqualTo(Long value) {
            addCriterion("autoplay <>", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayGreaterThan(Long value) {
            addCriterion("autoplay >", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayGreaterThanOrEqualTo(Long value) {
            addCriterion("autoplay >=", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayLessThan(Long value) {
            addCriterion("autoplay <", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayLessThanOrEqualTo(Long value) {
            addCriterion("autoplay <=", value, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayIn(List<Long> values) {
            addCriterion("autoplay in", values, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayNotIn(List<Long> values) {
            addCriterion("autoplay not in", values, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayBetween(Long value1, Long value2) {
            addCriterion("autoplay between", value1, value2, "autoplay");
            return (Criteria) this;
        }

        public Criteria andAutoplayNotBetween(Long value1, Long value2) {
            addCriterion("autoplay not between", value1, value2, "autoplay");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongIsNull() {
            addCriterion("interval_timeLong is null");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongIsNotNull() {
            addCriterion("interval_timeLong is not null");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongEqualTo(String value) {
            addCriterion("interval_timeLong =", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongNotEqualTo(String value) {
            addCriterion("interval_timeLong <>", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongGreaterThan(String value) {
            addCriterion("interval_timeLong >", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongGreaterThanOrEqualTo(String value) {
            addCriterion("interval_timeLong >=", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongLessThan(String value) {
            addCriterion("interval_timeLong <", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongLessThanOrEqualTo(String value) {
            addCriterion("interval_timeLong <=", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongLike(String value) {
            addCriterion("interval_timeLong like", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongNotLike(String value) {
            addCriterion("interval_timeLong not like", value, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongIn(List<String> values) {
            addCriterion("interval_timeLong in", values, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongNotIn(List<String> values) {
            addCriterion("interval_timeLong not in", values, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongBetween(String value1, String value2) {
            addCriterion("interval_timeLong between", value1, value2, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andIntervalTimelongNotBetween(String value1, String value2) {
            addCriterion("interval_timeLong not between", value1, value2, "intervalTimelong");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(String value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(String value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(String value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(String value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(String value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(String value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLike(String value) {
            addCriterion("duration like", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotLike(String value) {
            addCriterion("duration not like", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<String> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<String> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(String value1, String value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(String value1, String value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andLinkIsNull() {
            addCriterion("link is null");
            return (Criteria) this;
        }

        public Criteria andLinkIsNotNull() {
            addCriterion("link is not null");
            return (Criteria) this;
        }

        public Criteria andLinkEqualTo(String value) {
            addCriterion("link =", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotEqualTo(String value) {
            addCriterion("link <>", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThan(String value) {
            addCriterion("link >", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkGreaterThanOrEqualTo(String value) {
            addCriterion("link >=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThan(String value) {
            addCriterion("link <", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLessThanOrEqualTo(String value) {
            addCriterion("link <=", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkLike(String value) {
            addCriterion("link like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotLike(String value) {
            addCriterion("link not like", value, "link");
            return (Criteria) this;
        }

        public Criteria andLinkIn(List<String> values) {
            addCriterion("link in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotIn(List<String> values) {
            addCriterion("link not in", values, "link");
            return (Criteria) this;
        }

        public Criteria andLinkBetween(String value1, String value2) {
            addCriterion("link between", value1, value2, "link");
            return (Criteria) this;
        }

        public Criteria andLinkNotBetween(String value1, String value2) {
            addCriterion("link not between", value1, value2, "link");
            return (Criteria) this;
        }

        public Criteria andNamesIsNull() {
            addCriterion("names is null");
            return (Criteria) this;
        }

        public Criteria andNamesIsNotNull() {
            addCriterion("names is not null");
            return (Criteria) this;
        }

        public Criteria andNamesEqualTo(String value) {
            addCriterion("names =", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotEqualTo(String value) {
            addCriterion("names <>", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThan(String value) {
            addCriterion("names >", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThanOrEqualTo(String value) {
            addCriterion("names >=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThan(String value) {
            addCriterion("names <", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThanOrEqualTo(String value) {
            addCriterion("names <=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLike(String value) {
            addCriterion("names like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotLike(String value) {
            addCriterion("names not like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesIn(List<String> values) {
            addCriterion("names in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotIn(List<String> values) {
            addCriterion("names not in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesBetween(String value1, String value2) {
            addCriterion("names between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotBetween(String value1, String value2) {
            addCriterion("names not between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNameAliasIsNull() {
            addCriterion("name_alias is null");
            return (Criteria) this;
        }

        public Criteria andNameAliasIsNotNull() {
            addCriterion("name_alias is not null");
            return (Criteria) this;
        }

        public Criteria andNameAliasEqualTo(String value) {
            addCriterion("name_alias =", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasNotEqualTo(String value) {
            addCriterion("name_alias <>", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasGreaterThan(String value) {
            addCriterion("name_alias >", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasGreaterThanOrEqualTo(String value) {
            addCriterion("name_alias >=", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasLessThan(String value) {
            addCriterion("name_alias <", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasLessThanOrEqualTo(String value) {
            addCriterion("name_alias <=", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasLike(String value) {
            addCriterion("name_alias like", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasNotLike(String value) {
            addCriterion("name_alias not like", value, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasIn(List<String> values) {
            addCriterion("name_alias in", values, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasNotIn(List<String> values) {
            addCriterion("name_alias not in", values, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasBetween(String value1, String value2) {
            addCriterion("name_alias between", value1, value2, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andNameAliasNotBetween(String value1, String value2) {
            addCriterion("name_alias not between", value1, value2, "nameAlias");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andLbStatusIsNull() {
            addCriterion("lb_status is null");
            return (Criteria) this;
        }

        public Criteria andLbStatusIsNotNull() {
            addCriterion("lb_status is not null");
            return (Criteria) this;
        }

        public Criteria andLbStatusEqualTo(Byte value) {
            addCriterion("lb_status =", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusNotEqualTo(Byte value) {
            addCriterion("lb_status <>", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusGreaterThan(Byte value) {
            addCriterion("lb_status >", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("lb_status >=", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusLessThan(Byte value) {
            addCriterion("lb_status <", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusLessThanOrEqualTo(Byte value) {
            addCriterion("lb_status <=", value, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusIn(List<Byte> values) {
            addCriterion("lb_status in", values, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusNotIn(List<Byte> values) {
            addCriterion("lb_status not in", values, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusBetween(Byte value1, Byte value2) {
            addCriterion("lb_status between", value1, value2, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andLbStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("lb_status not between", value1, value2, "lbStatus");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNull() {
            addCriterion("dept_id is null");
            return (Criteria) this;
        }

        public Criteria andDeptIdIsNotNull() {
            addCriterion("dept_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeptIdEqualTo(Long value) {
            addCriterion("dept_id =", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotEqualTo(Long value) {
            addCriterion("dept_id <>", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThan(Long value) {
            addCriterion("dept_id >", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dept_id >=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThan(Long value) {
            addCriterion("dept_id <", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdLessThanOrEqualTo(Long value) {
            addCriterion("dept_id <=", value, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdIn(List<Long> values) {
            addCriterion("dept_id in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotIn(List<Long> values) {
            addCriterion("dept_id not in", values, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdBetween(Long value1, Long value2) {
            addCriterion("dept_id between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andDeptIdNotBetween(Long value1, Long value2) {
            addCriterion("dept_id not between", value1, value2, "deptId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    /**
     * sys_rotationchart
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * sys_rotationchart 2019-04-04
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}